<?php
// +----------------------------------------------------------------------
// | 德力PHP框架 [ DeLiPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2019~2050 天津德力仪器设备有限公司 [ http://www.deviser.com.cn ]
// +----------------------------------------------------------------------
// | 官方网站: http://www.deviser.com.cn
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------

/**
 * 菜单信息
 */
return [
    [
        'title' => '测试',
        'icon' => 'fa fa-fw fa-pencil',
        'url_type' => 'module_admin',
        'url_value' => 'test/index/index',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
        'child' => [
            [
                'title' => '测试栏目',
                'icon' => 'fa fa-fw fa-pencil',
                'url_type' => 'module_admin',
                'url_value' => '',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
                'child' => [
                    [
                        'title' => '测试目录',
                        'icon' => 'fa fa-fw fa-list',
                        'url_type' => 'module_admin',
                        'url_value' => 'test/index/index',
                        'url_target' => '_self',
                        'online_hide' => 0,
                        'sort' => 100,
                        'child' => [
                            [
                                'title' => '新增',
                                'icon' => '',
                                'url_type' => 'module_admin',
                                'url_value' => 'test/index/add',
                                'url_target' => '_self',
                                'online_hide' => 0,
                                'sort' => 100,
                            ],
                            [
                                'title' => '编辑',
                                'icon' => '',
                                'url_type' => 'module_admin',
                                'url_value' => 'test/index/edit',
                                'url_target' => '_self',
                                'online_hide' => 0,
                                'sort' => 100,
                            ],
                            [
                                'title' => '删除',
                                'icon' => '',
                                'url_type' => 'module_admin',
                                'url_value' => 'test/index/delete',
                                'url_target' => '_self',
                                'online_hide' => 0,
                                'sort' => 100,
                            ],
                        ],
                    ],
                    [
                        'title' => '测试动态生成表头',
                        'icon' => 'fa fa-fw fa-list',
                        'url_type' => 'module_admin',
                        'url_value' => 'test/index1/index',
                        'url_target' => '_self',
                        'online_hide' => 0,
                        'sort' => 100,
                        'child' => [
                            [
                                'title' => '新增',
                                'icon' => '',
                                'url_type' => 'module_admin',
                                'url_value' => 'test/index1/add',
                                'url_target' => '_self',
                                'online_hide' => 0,
                                'sort' => 100,
                            ],
                            [
                                'title' => '编辑',
                                'icon' => '',
                                'url_type' => 'module_admin',
                                'url_value' => 'test/index1/edit',
                                'url_target' => '_self',
                                'online_hide' => 0,
                                'sort' => 100,
                            ],
                            [
                                'title' => '删除',
                                'icon' => '',
                                'url_type' => 'module_admin',
                                'url_value' => 'test/index1/delete',
                                'url_target' => '_self',
                                'online_hide' => 0,
                                'sort' => 100,
                            ],
                        ],
                    ],
                ],
            ],
            [
                'title' => '测试栏目',
                'icon' => 'fa fa-fw fa-folder-open-o',
                'url_type' => 'module_admin',
                'url_value' => 'test/form_builder/index',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
                'child' => []
            ]
        ],
    ],
];
